﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CSVExportImport.Exceptions
{
    public class CSVExportImportException : Exception
    {
        public enum ExceptionType
        {
            NewLineExpected
            ,NewLineNotExpected
            ,InvlidFormat
            
        }

        public ExceptionType ExType {get;set;}
        public int ExChar {get;set;}

        public CSVExportImportException(String msg, ExceptionType type, int c) : base(msg)
        { 
            ExType = type;
            ExChar = c;
        }
    }
}
